<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- title -->
    <title><%= htmlWebpackPlugin.options.title %></title>
    <!-- cdn -->
    <% if (htmlWebpackPlugin.options.cdn) { %>
        <% for(var css of htmlWebpackPlugin.options.cdn.css) { %>
          <link rel="stylesheet" href="<%=css%>">
        <% } %>
        <% for(var js of htmlWebpackPlugin.options.cdn.js) { %>
          <script defer src="<%=js%>"></script>
        <% } %>
    <% } %>
</head>
<body>
    <div id="app"></div>
</body>
</html>